import request from '@/utils/request'

// 获取门店
export function getStore(data) {
    return request({
        url: '/General/get_store',
        method: 'post',
        data: data
    })
}

// 获取方案列表
export function getInfo(data,page) {
    return request({
        url: '/Wx_integral_rules/integral_rules_list/'+(page?page:1),
        method: 'post',
        data: data
    })
}

// 列表方案分页
export function getInfoPage(data) {
    return request({
        url: '/Wx_integral_rules/integral_rules_page',
        method: 'post',
        data: data
    })
}

// 详情
export function signDetails(data) {
    return request({
        url: '/Wx_integral_rules/integral_rules_info',
        method: 'post',
        data: data
    })
}


//日历
export function storeConfigInfo(data) {
    return request({
        url: '/Wx_integral_rules/store_config_rules_info',
        method: 'post',
        data: data
    })
}

// 修改
export function storeConfigPlan(data) {
    return request({
        url: '/Wx_integral_rules/store_config_rules',
        method: 'post',
        data: data
    })
}